Integrand size = 32, antiderivative size = 242 \[ \int \frac {e+f x^2}{\sqrt {a-b x^2} \left (c-d x^2\right )^{3/2}} \, dx=-\frac {(d e+c f) x \sqrt {a-b x^2}}{c (b c-a d) \sqrt {c-d x^2}}+\frac {(d e+c f) \sqrt {a-b x^2} \sqrt {1-\frac {d x^2}{c}} E\left (\arcsin \left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|\frac {b c}{a d}\right )}{\sqrt {c} \sqrt {d} (b c-a d) \sqrt {1-\frac {b x^2}{a}} \sqrt {c-d x^2}}+\frac {e \sqrt {1-\frac {b x^2}{a}} \sqrt {1-\frac {d x^2}{c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {d} x}{\sqrt {c}}\right ),\frac {b c}{a d}\right )}{\sqrt {c} \sqrt {d} \sqrt {a-b x^2} \sqrt {c-d x^2}} \]
[Out]
Time = 0.16 (sec) , antiderivative size = 242, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.219, Rules used = {541, 538, 438, 437, 435, 432, 430} \[ \int \frac {e+f x^2}{\sqrt {a-b x^2} \left (c-d x^2\right )^{3/2}} \, dx=\frac {\sqrt {a-b x^2} \sqrt {1-\frac {d x^2}{c}} (c f+d e) E\left (\arcsin \left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|\frac {b c}{a d}\right )}{\sqrt {c} \sqrt {d} \sqrt {1-\frac {b x^2}{a}} \sqrt {c-d x^2} (b c-a d)}+\frac {e \sqrt {1-\frac {b x^2}{a}} \sqrt {1-\frac {d x^2}{c}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {d} x}{\sqrt {c}}\right ),\frac {b c}{a d}\right )}{\sqrt {c} \sqrt {d} \sqrt {a-b x^2} \sqrt {c-d x^2}}-\frac {x \sqrt {a-b x^2} (c f+d e)}{c \sqrt {c-d x^2} (b c-a d)} \]
[In]
[Out]
Rule 430
Rule 432
Rule 435
Rule 437
Rule 438
Rule 538
Rule 541
Rubi steps \begin{align*} \text {integral}& = -\frac {(d e+c f) x \sqrt {a-b x^2}}{c (b c-a d) \sqrt {c-d x^2}}-\frac {\int \frac {-c (b e+a f)+b (d e+c f) x^2}{\sqrt {a-b x^2} \sqrt {c-d x^2}} \, dx}{c (b c-a d)} \\ & = -\frac {(d e+c f) x \sqrt {a-b x^2}}{c (b c-a d) \sqrt {c-d x^2}}+\frac {e \int \frac {1}{\sqrt {a-b x^2} \sqrt {c-d x^2}} \, dx}{c}+\frac {(d e+c f) \int \frac {\sqrt {a-b x^2}}{\sqrt {c-d x^2}} \, dx}{c (b c-a d)} \\ & = -\frac {(d e+c f) x \sqrt {a-b x^2}}{c (b c-a d) \sqrt {c-d x^2}}+\frac {\left (e \sqrt {1-\frac {d x^2}{c}}\right ) \int \frac {1}{\sqrt {a-b x^2} \sqrt {1-\frac {d x^2}{c}}} \, dx}{c \sqrt {c-d x^2}}+\frac {\left ((d e+c f) \sqrt {1-\frac {d x^2}{c}}\right ) \int \frac {\sqrt {a-b x^2}}{\sqrt {1-\frac {d x^2}{c}}} \, dx}{c (b c-a d) \sqrt {c-d x^2}} \\ & = -\frac {(d e+c f) x \sqrt {a-b x^2}}{c (b c-a d) \sqrt {c-d x^2}}+\frac {\left ((d e+c f) \sqrt {a-b x^2} \sqrt {1-\frac {d x^2}{c}}\right ) \int \frac {\sqrt {1-\frac {b x^2}{a}}}{\sqrt {1-\frac {d x^2}{c}}} \, dx}{c (b c-a d) \sqrt {1-\frac {b x^2}{a}} \sqrt {c-d x^2}}+\frac {\left (e \sqrt {1-\frac {b x^2}{a}} \sqrt {1-\frac {d x^2}{c}}\right ) \int \frac {1}{\sqrt {1-\frac {b x^2}{a}} \sqrt {1-\frac {d x^2}{c}}} \, dx}{c \sqrt {a-b x^2} \sqrt {c-d x^2}} \\ & = -\frac {(d e+c f) x \sqrt {a-b x^2}}{c (b c-a d) \sqrt {c-d x^2}}+\frac {(d e+c f) \sqrt {a-b x^2} \sqrt {1-\frac {d x^2}{c}} E\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|\frac {b c}{a d}\right )}{\sqrt {c} \sqrt {d} (b c-a d) \sqrt {1-\frac {b x^2}{a}} \sqrt {c-d x^2}}+\frac {e \sqrt {1-\frac {b x^2}{a}} \sqrt {1-\frac {d x^2}{c}} F\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|\frac {b c}{a d}\right )}{\sqrt {c} \sqrt {d} \sqrt {a-b x^2} \sqrt {c-d x^2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 6.74 (sec) , antiderivative size = 221, normalized size of antiderivative = 0.91 \[ \int \frac {e+f x^2}{\sqrt {a-b x^2} \left (c-d x^2\right )^{3/2}} \, dx=\frac {\sqrt {-\frac {b}{a}} d (d e+c f) x \left (a-b x^2\right )+i b c (d e+c f) \sqrt {1-\frac {b x^2}{a}} \sqrt {1-\frac {d x^2}{c}} E\left (i \text {arcsinh}\left (\sqrt {-\frac {b}{a}} x\right )|\frac {a d}{b c}\right )+i c (-b c+a d) f \sqrt {1-\frac {b x^2}{a}} \sqrt {1-\frac {d x^2}{c}} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {-\frac {b}{a}} x\right ),\frac {a d}{b c}\right )}{\sqrt {-\frac {b}{a}} c d (-b c+a d) \sqrt {a-b x^2} \sqrt {c-d x^2}} \]
[In]
[Out]
Time = 4.95 (sec) , antiderivative size = 338, normalized size of antiderivative = 1.40
method | result | size |
default | \(\frac {\left (-\sqrt {\frac {d}{c}}\, b c f \,x^{3}-\sqrt {\frac {d}{c}}\, b d e \,x^{3}+\sqrt {\frac {-d \,x^{2}+c}{c}}\, \sqrt {\frac {-b \,x^{2}+a}{a}}\, F\left (x \sqrt {\frac {d}{c}}, \sqrt {\frac {b c}{a d}}\right ) a d e -\sqrt {\frac {-d \,x^{2}+c}{c}}\, \sqrt {\frac {-b \,x^{2}+a}{a}}\, F\left (x \sqrt {\frac {d}{c}}, \sqrt {\frac {b c}{a d}}\right ) b c e -\sqrt {\frac {-d \,x^{2}+c}{c}}\, \sqrt {\frac {-b \,x^{2}+a}{a}}\, E\left (x \sqrt {\frac {d}{c}}, \sqrt {\frac {b c}{a d}}\right ) a c f -\sqrt {\frac {-d \,x^{2}+c}{c}}\, \sqrt {\frac {-b \,x^{2}+a}{a}}\, E\left (x \sqrt {\frac {d}{c}}, \sqrt {\frac {b c}{a d}}\right ) a d e +\sqrt {\frac {d}{c}}\, a c f x +\sqrt {\frac {d}{c}}\, a d e x \right ) \sqrt {-b \,x^{2}+a}\, \sqrt {-d \,x^{2}+c}}{\sqrt {\frac {d}{c}}\, c \left (a d -b c \right ) \left (b d \,x^{4}-a d \,x^{2}-c b \,x^{2}+a c \right )}\) | \(338\) |
elliptic | \(\frac {\sqrt {\left (-b \,x^{2}+a \right ) \left (-d \,x^{2}+c \right )}\, \left (-\frac {\left (b d \,x^{2}-a d \right ) x \left (c f +d e \right )}{d c \left (a d -b c \right ) \sqrt {\left (x^{2}-\frac {c}{d}\right ) \left (b d \,x^{2}-a d \right )}}+\frac {\left (-\frac {f}{d}+\frac {c f +d e}{d c}-\frac {a \left (c f +d e \right )}{c \left (a d -b c \right )}\right ) \sqrt {1-\frac {d \,x^{2}}{c}}\, \sqrt {1-\frac {b \,x^{2}}{a}}\, F\left (x \sqrt {\frac {d}{c}}, \sqrt {-1-\frac {-a d -b c}{a d}}\right )}{\sqrt {\frac {d}{c}}\, \sqrt {b d \,x^{4}-a d \,x^{2}-c b \,x^{2}+a c}}+\frac {\left (c f +d e \right ) a \sqrt {1-\frac {d \,x^{2}}{c}}\, \sqrt {1-\frac {b \,x^{2}}{a}}\, \left (F\left (x \sqrt {\frac {d}{c}}, \sqrt {-1-\frac {-a d -b c}{a d}}\right )-E\left (x \sqrt {\frac {d}{c}}, \sqrt {-1-\frac {-a d -b c}{a d}}\right )\right )}{\left (a d -b c \right ) c \sqrt {\frac {d}{c}}\, \sqrt {b d \,x^{4}-a d \,x^{2}-c b \,x^{2}+a c}}\right )}{\sqrt {-b \,x^{2}+a}\, \sqrt {-d \,x^{2}+c}}\) | \(384\) |
[In]
[Out]
none
Time = 0.09 (sec) , antiderivative size = 257, normalized size of antiderivative = 1.06 \[ \int \frac {e+f x^2}{\sqrt {a-b x^2} \left (c-d x^2\right )^{3/2}} \, dx=-\frac {{\left (a c d^{2} e + a c^{2} d f\right )} \sqrt {-b x^{2} + a} \sqrt {-d x^{2} + c} x - {\left (a c d^{2} e + a c^{2} d f - {\left (a d^{3} e + a c d^{2} f\right )} x^{2}\right )} \sqrt {a c} \sqrt {\frac {d}{c}} E(\arcsin \left (x \sqrt {\frac {d}{c}}\right )\,|\,\frac {b c}{a d}) + {\left ({\left ({\left (b c^{2} d - a d^{3}\right )} e + {\left (a c^{2} d - a c d^{2}\right )} f\right )} x^{2} - {\left (b c^{3} - a c d^{2}\right )} e - {\left (a c^{3} - a c^{2} d\right )} f\right )} \sqrt {a c} \sqrt {\frac {d}{c}} F(\arcsin \left (x \sqrt {\frac {d}{c}}\right )\,|\,\frac {b c}{a d})}{a b c^{4} d - a^{2} c^{3} d^{2} - {\left (a b c^{3} d^{2} - a^{2} c^{2} d^{3}\right )} x^{2}} \]
[In]
[Out]
\[ \int \frac {e+f x^2}{\sqrt {a-b x^2} \left (c-d x^2\right )^{3/2}} \, dx=\int \frac {e + f x^{2}}{\sqrt {a - b x^{2}} \left (c - d x^{2}\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {e+f x^2}{\sqrt {a-b x^2} \left (c-d x^2\right )^{3/2}} \, dx=\int { \frac {f x^{2} + e}{\sqrt {-b x^{2} + a} {\left (-d x^{2} + c\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {e+f x^2}{\sqrt {a-b x^2} \left (c-d x^2\right )^{3/2}} \, dx=\int { \frac {f x^{2} + e}{\sqrt {-b x^{2} + a} {\left (-d x^{2} + c\right )}^{\frac {3}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {e+f x^2}{\sqrt {a-b x^2} \left (c-d x^2\right )^{3/2}} \, dx=\int \frac {f\,x^2+e}{\sqrt {a-b\,x^2}\,{\left (c-d\,x^2\right )}^{3/2}} \,d x \]
[In]
[Out]